package com.sie.plm.rpm;

import cn.hutool.extra.spring.SpringUtil;
import com.spring4all.swagger.EnableSwagger2Doc;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Import;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * @author linjinde
 */
@SpringBootApplication(scanBasePackages = {"com.hustcad.plm","com.sie.plm"})
@EnableSwagger2Doc
@MapperScan(basePackages = {"com.hustcad.plm.rpm.mapper"}, properties = {"safeDelete=true", "safeUpdate=true"})
@Import({SpringUtil.class})
public class ProjectmngApp {
    private static final Logger log = LoggerFactory.getLogger(ProjectmngApp.class);
    public static void main(String[] args) { SpringApplication.run(ProjectmngApp.class, args); }
}
